class A():
    def a(self):
        print('this is A class')


class B(A):
    def b(self):
        print('this is B class')


class C(B):
    def c(self):
        print('this is C class')

# 多层继承
# C=>B=>A  C也继承了A
c = C()
c.a()
